package com.match.spring.aop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Client {

	public Client() {
	}
	
	
	public static void main(String[] args)
	{
		ApplicationContext context=new ClassPathXmlApplicationContext(
				"applicationContext.xml");
		UserServer userServer=(UserServer) context.getBean("UserServer");
		userServer.queryUser();
		userServer.delUser(1);
	}
}
